package org.csu.domitory.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/main/")
public class StudentMainController {

//用户账户信息查询

    //用户密码管理
    @PostMapping("userAndPwd")
    public String userAndPassword() {
        return "students/accountMessage/userAndPwd";
    }

    //楼栋信息查询
    @PostMapping("building")
    public String viewBuilding() {
        return "students/accountMessage/buildingMessage";
    }

    //其他信息查询
    @PostMapping("other")
    public String viewOtherMessage() {
        return "students/accountMessage/otherMessage";
    }

//危险数据查询

    //视频数据查询
    @PostMapping("camera")
    public String cameraData() {
        return "students/dangerousData/cameraData";
    }

    //温度数据查询
    @PostMapping("temperature")
    public String temperatureData() {
        return "students/dangerousData/temData";
    }

    //房门数据查询
    @PostMapping("door")
    public String doorData() {
        return "students/dangerousData/doorData";
    }

//设备管理

    //摄像头管理
    @PostMapping("cameraManage")
    public String cameraManege() {
        return "students/deviceManagement/cameraManage";
    }

    //饮水机管理
    @PostMapping("water")
    public String waterManage() {
        return "students/deviceManagement/waterManage";
    }

// 系统设置

    //设置
    @PostMapping("setup")
    public String setUp() {
        return "students/setUp/setUp";
    }

    //联系客服
    @PostMapping("customerService")
    public String customerService() {
        return "students/setUp/customerService";
    }
}
